package com.xnew.role.service;

import com.xnew.bean.common.AuUserRole;
import com.xnew.role.mapper.AuUserRoleMapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by lenovo on  七月
 */
@Service
@CacheConfig
@Transactional(rollbackFor = Exception.class)
public class AuUserRoleService {

    @Autowired
    private AuUserRoleMapper auUserRoleMapper;

    public AuUserRole findUserByRoleId(String arId) {
        return auUserRoleMapper.findUserByRoleId(arId);
    }
}
